﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ClassLibrary;
using GatewayFysioWeb;


namespace GatewayFysioWeb
{
    public class GatewayUserContent : DataAccess<UserContent>
    {
        public override UserContent Create(UserContent objectToCreate)
        {
            CreateCon();

            System.Data.IDbCommand command = con.CreateCommand();

            command.CommandText = "Insert into UserContent (CPR,Description) values('" + objectToCreate. + "','" + objectToCreate.description + "'";
            command.ExecuteNonQuery();

            EndCon();
            return null;
        }

        public override UserContent Update(UserContent objectToUpdate)
        {
            throw new NotImplementedException();
        }

        public override bool Delete(UserContent objectToDelete)
        {
            throw new NotImplementedException();
        }

        public override UserContent Load(int idOfObjectToLoad)
        {
            throw new NotImplementedException();
        }

        public override List<UserContent> LoadAll()
        {
            throw new NotImplementedException();
        }
    }


}



